package org.redrider.shop.domain
class Vehicle {
    Customer owner
    VehicleType vehicleType
    String vinNumber
    Date entryDate
    String notes
    String color
    static constraints = {
        owner(nullable:false)
        vehicleType(nullable:false)
        color(blank:false)
        vinNumber(blank:false)
        entryDate()
        notes()
    }

    static hasMany = [historyList:History]
}
